<?php
include("../includes/common.php");
if($islogin2==1){}else exit("<script language='javascript'>window.location.href='./login.php';</script>");
include './head.php';
/**********获取包数据***************/ 
$list=$DB->query("SELECT * FROM `pay_demo` WHERE `active` = 0 order by time desc limit 30")->fetchAll();
?>
<div class="clearfix"></div>
  <div class="content-wrapper">
    <div class="container-fluid">  
     <div class="row pt-2 pb-2">
        <div class="col-sm-9">
            <h4 class="page-title">集成包插件</h4>
            <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="javaScript:void();">集成包</a></li>
            <li class="breadcrumb-item"><a href="javaScript:void();">插件</a></li>
            <li class="breadcrumb-item active" aria-current="page">下载</li>
         </ol>
       </div>
      </div>
     </div>

 <div class="row">
        <div class="col-lg-12">
          <div class="card">
            <div class="card-header"><i class="fa fa-table"></i><span class="badge badge-pill badge-danger m-1">支付集成包插件</span>
            </div>
            <div class="card-body">
              <div class="table-responsive">

              <table id="default-datatable" class="table table-bordered">
                <thead>
                   <tr>
                                 <th>插件名称</th>
                                 <th>插件介绍</th>
                                 <th>上传时间</th>
                                 <th>操作</th>
                                 </tr>
                </thead>
                <tbody>
                      <?php
                         foreach($list as $res){?>
                       <tr>
                            <td><?php echo $res['title'];?></td>
                            <td><?php echo $res['content'];?></td>
                            <td><?php echo $res['time'];?></td>
                            <td><a href="<?php echo $res['url'];?>"><span class="badge badge-pill badge-secondary shadow-secondary m-1">下载</span></a></td>
                            </tr>

                              <?php } ?>
                                
                                 </tbody>
                    </table>
           </div>
      </div>
</div>
</div>
</div>
</div>
    </div>
        </div>
      </div>
    </div>
    </div>
    <a href="javaScript:void();" class="back-to-top"><i class="fa fa-angle-double-up"></i> </a>
    
  </div>














<?php include './foot.php';?>
